<?php
 //date_default_timezone_get();
 date_default_timezone_set('Asia/Calcutta');

//echo date('Y-m-d H:i:s a l',3600*24*365*44);

//echo time();
// get time after one hour
//echo date('h/i/s A l y v= == * ',time()-(60*60*3));

//$time = strtotime('-100 days');
//echo date('Y-m-d H:i:s');

$seconds = strtotime('+1 hour');
$years =  $seconds/(60*60*24*365);
$tmpYears = $seconds%(60*60*24*365);
$months = $tmpYears/(60*60*24*30);
$tmpMonths = $tmpYears%(60*60*24*30);
$days = $tmpMonths/(60*60*24);

echo "$years Years \n $months Months \n $days Days ";
